* {
  padding: 0;
  margin: 0;
}
.app {
  max-width: 750px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}
.nav-box {
  height: 1rem;
  line-height: 1rem;
  border-bottom: 1px solid #cccccc;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
.nav-box > .nav-input {
  flex-grow: 3;
  padding: 0 0.2rem;
  box-sizing: border-box;
}
.nav-box > .nav-input > input[type='text'] {
  box-sizing: border-box;
  width: 100%;
  padding: 0 0.1rem;
  height: 0.6rem;
  border: none;
  outline: none;
  background: #eeeeee url(../imgs/search.png) no-repeat center;
  background-size: 0.4rem;
  border-radius: 0.1rem;
}
.nav-box > .nav-input > input[type='text']:focus {
  background-image: none;
  border: 1px solid #007bff;
}
.nav-box > .nav-btn {
  flex-grow: 1;
  text-align: center;
  color: #007bff;
  cursor: pointer;
  font-size: 0.36rem;
  display: none;
}
.content-box {
  position: absolute;
  top: 1rem;
  bottom: 0;
  left: 0;
  right: 0;
}
.home-box .list-name > .title,
.films-box .list-name > .title {
  float: left;
  margin: 0.24rem 0.1rem;
  padding-left: 0.1rem;
  font-size: 0.32rem;
  border-left: 4px solid #007bff;
}
.home-box .list-name > .list-more,
.films-box .list-name > .list-more {
  float: right;
  margin: 0.24rem 0.1rem;
  padding-right: 0.1rem;
  font-size: 0.28rem;
  color: #007bff;
}
.home-box .film-item,
.films-box .film-item {
  width: 2.35rem;
  height: 4.5rem;
  display: inline-block;
  margin-left: 0.1rem;
  vertical-align: top;
}
.home-box .film-item > .film-img img,
.films-box .film-item > .film-img img {
  height: 3.5rem;
  width: 100%;
}
.home-box .film-item > .film-title,
.films-box .film-item > .film-title {
  font-size: 0.26rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.1rem;
}
.film-source {
  margin: 0 0.1rem 0 0;
}
.film-source > span {
  height: 0.22rem;
  width: 0.22rem;
  line-height: 0.22rem;
  margin-left: 0.1rem;
}
.film-source > .star-img {
  display: inline-block;
  background-repeat: no-repeat;
  background-size: 100%;
}
.film-source > .open {
  background-image: url(../imgs/star-open.png);
}
.film-source > .close {
  background-image: url(../imgs/star-close.png);
}
.film-source > .star-source {
  padding-right: 0.1rem;
  font-size: 0.3rem;
}
.film-source > .star-tip {
  color: #6c757d;
  font-size: 0.28rem;
}
